package com.gs.weather.service;

import com.gs.weather.entity.DisasterType;
import com.gs.weather.vo.PageBean;
import org.springframework.http.ResponseEntity;



/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/9/21 0021
 */

public interface DisasterTypeService {

    Integer addDisasterType(DisasterType type);

    ResponseEntity updateDisasterType(DisasterType type);

    PageBean getAllDisasterType(Integer pageNum);

    ResponseEntity deleteDisasterType(int id);
}
